/**
 * 
 */
package hu.radai.jsfportal.listener;

import hu.radai.jsfportal.log.LogManagerUtil;

import javax.servlet.http.HttpSessionEvent;

/**
 * @author Radai Tamas
 */
public class HttpsessionListenerImpl	implements
												HttpsessionListener {
	
	/**
	 * @see javax.servlet.http.HttpSessionListener#sessionCreated(javax.servlet.http.HttpSessionEvent)
	 */
	@Override
	public void sessionCreated(final HttpSessionEvent httpSessionEvent) {
		LogManagerUtil.debug(HttpsessionListenerImpl.class, "session is created ID (" + httpSessionEvent.getSession().getId() + ")");
	}
	
	/**
	 * @see javax.servlet.http.HttpSessionListener#sessionDestroyed(javax.servlet.http.HttpSessionEvent)
	 */
	@Override
	public void sessionDestroyed(final HttpSessionEvent httpSessionEvent) {
		LogManagerUtil.debug(HttpsessionListenerImpl.class, "session is destroyed, ID(" + httpSessionEvent.getSession().getId() + ")");
	}
}
